package cn.psh.pet.mapper;

import cn.psh.pet.domain.Pet;
import cn.psh.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author pider
 * @since 2022-09-23
 */
public interface PetMapper extends BaseMapper<Pet> {

    void onsale(@Param("id") Long id,@Param("date") Date date);

    void offsale(@Param("ids")List<Long> ids,@Param("date") Date date);
}
